package com.panshi;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author :jiege
 * @description :
 * @create :2020-08-04 16:34:00
 */
@SpringBootApplication(scanBasePackages = {"com.panshi.api"})
@EnableDiscoveryClient
@EnableCircuitBreaker//开启服务熔断
@EnableFeignClients // 开启Feign功能
public class HasbeiUserApi {
    public static void main(String[] args) {

        SpringApplication.run(HasbeiUserApi.class, args);
    }
}
